import {createRouter,createWebHistory} from 'vue-router'

const router=createRouter({
  history:createWebHistory(),
  routes:[
     {
      path:'/',
      redirect:'/zhuce'
     },
     {
       path:'/zhuce',
       component:()=>import("../views/ZhuCe.vue")
     },
     {
      path:'/denglu',
      component:()=>import("../views/DengLu.vue")
    },
    {
      path:'/chenggong',
      component:()=>import("../views/ChengGong.vue")
    }
  ]
})

export default router